package com.example.yuejianapp14.Activity.Servics;

import com.example.yuejianapp14.Activity.JavaBean.Act;
import com.example.yuejianapp14.Activity.JavaBean.Game;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by 张森 on 2017/10/16.
 */

public interface GameService {
    @GET("allCompetition")
    Call<List<Game>> getGame();

    @GET("gameinfo")
    Call<Game> gameinfo(
            @Query("competitionid")String gameid
    );
}
